package com.fowo.api.controller.purchase.importPo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.DecimalString;
import com.fowo.api.common.validator.LongString;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Size;

/**
 * 调拨单子表 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Data
public class RequisitionProductImportPo {

  /** SKU */
  @ExcelProperty("*SKU")
  @Size(max = 50, message = "SKU长度不能超过50")
  private String sku;

  /** 店铺 */
  @ExcelProperty("店铺")
  @Size(max = 50, message = "店铺长度不能超过50")
  private String shopNameShopName;

  /** FNSKU */
  @ExcelProperty("FNSKU")
  @Size(max = 50, message = "FNSKU长度不能超过50")
  private String fnsku;

  /** 可用调拨量 */
  @ExcelProperty("可用量调拨")
  @LongString(message = "可用量调拨数值格式不正确", label = "可用量调拨")
  private String availbleRqtNum;

  /** 次品调拨量 */
  @ExcelProperty("次品量调拨")
  @LongString(message = "次品量调拨数值格式不正确", label = "次品量调拨")
  private String defectiveRqtQuantity;

  /** 入库可用仓位 */
  @ExcelProperty("可用入库仓位")
  @Size(max = 50, message = "可用入库仓位长度不能超过50")
  private String toGoodWarehouseBinStorageBin;

  /** 入库次品仓位 */
  @ExcelProperty("次品入库仓位")
  @Size(max = 50, message = "次品入库仓位长度不能超过50")
  private String toBadWarehouseBinStorageBin;

}
